<div class="box width-100 menu">
                                                <div class="box-ctn">
                                                    <div class="article-title-c width-100">Thực đơn Thuyền Chài</div>
                                                    <div class="clear"></div>
                                                    <div class="list menu">
                                                    <!------Danh sach mon an------->
                                                        <div class="flexslider">
                                                            <ul class="slides">
                                                            	<?php
                                                            		$tblMenu	= new Zendvn_Models_Menus();
                                                            		$menu		= $tblMenu->listItem($this->arrParam, array('task'=>products));
                                                            		$num	= count($menu)/4;
                                                            		$num 	=  ceil($num);
                                                            		for ($i = 1; $i <= $num; $i++) {
                                                            	?>
                                                                <li>
                                                                    <ul class="lv2">
                                                                    	<?php
                                                            				$page = 1;
																			$lang = $this->arrParam['lang'];
																			if(empty($lang)){
																				$lang = 'vi';
																			}else{
																				$lang = $this->arrParam['lang'];
																			}
                                                                    		if(!empty($menu)){ 
                                                                    			for ($z = 1; $z <= 4; $z++) {
                                                                    				$numCount = ($i-1) * 4;
                                                                    				$key =  $z-1+$numCount;
                                                                    				if($i == 2) $key =  $z-1 + 4;
                                                                    				$item = $menu[$key];
                                                                    				if(!empty($item)){
                                                                    					$name = $item['name'];
                                                                    					$urlOptions = array('module'=>'products',
																										'controller'=>'index',
																										'action'=>'category',
																										'cid'=>$item['id'],
																										'name'=>$item['alias'],
																										'lang'=>$lang,
																										'page'=>$page);
																						$link 	= $this->url($urlOptions,'products-category');
																						$id = 'item-' . $item['id'] ;
                                                                    	?>
                                                                        <li id='<?php echo $id?>'><a href="<?php echo $link?>" title="<?php echo $name?>" class=""><?php echo $name?></a></li>
                                                                        <?php 
                                                                    				}
                                                                    			}
                                                                    		}
                                                                    	?>
                                                                    </ul>
                                                                </li>
                                                                <?php
                                                                	 } 
                                                                ?>
                                                                
                                                            </ul>
                                                        </div>
														<?php
															$id		= $this->arrParam['cid'];
														?>
														<script>
															$(document).ready(function(){
																var itemCls = '<?php echo 'item-' . $id ?>' ;
																$('#' + itemCls).find('a').addClass('act');
															})
														</script> 
                                                        <!-- jQuery -->
                                                      <!-- FlexSlider -->
                                                      <script type="text/javascript">
                                                        $(window).load(function() {
                                                            $('.flexslider').flexslider({
                                                              animation: "slide",
                                                              animationLoop: false,
                                                              itemWidth: 194,
                                                              itemMargin: 0,
                                                            });
                                                          });
                                                      </script>

                                                    <!------Danh sach mon an------->
                                                        <div class="clear"></div>
                                                    </div>
                                                    <div class="clear"></div>
                                                </div>
                                            </div>